home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX 2e document text
| default
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| LaTeX document, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 64 65 66 5c 66 69 6c | 65 76 65 72 73 69 6f 6e |\def\fil|eversion|
|00000010| 7b 35 7d 0a 5c 64 65 66 | 5c 66 69 6c 65 64 61 74 |{5}.\def|\filedat|
|00000020| 65 7b 31 39 39 34 2f 30 | 34 2f 31 35 7d 0a 5c 64 |e{1994/0|4/15}.\d|
|00000030| 65 66 5c 64 6f 63 64 61 | 74 65 7b 31 39 39 34 2f |ef\docda|te{1994/|
|00000040| 30 34 2f 31 35 7d 0a 25 | 20 5c 69 66 66 61 6c 73 |04/15}.%| \iffals|
|00000050| 65 0a 25 25 20 46 69 6c | 65 3a 20 74 65 78 74 66 |e.%% Fil|e: textf|
|00000060| 69 74 2e 64 74 78 20 43 | 6f 70 79 72 69 67 68 74 |it.dtx C|opyright|
|00000070| 20 28 43 29 20 31 39 39 | 34 20 53 65 62 61 73 74 | (C) 199|4 Sebast|
|00000080| 69 61 6e 20 52 61 68 74 | 7a 20 61 6e 64 20 50 68 |ian Raht|z and Ph|
|00000090| 69 6c 20 54 61 79 6c 6f | 72 0a 25 20 0a 25 20 20 |il Taylo|r.% .% |
|000000a0| 54 68 69 73 20 70 61 63 | 6b 61 67 65 20 69 73 20 |This pac|kage is |
|000000b0| 64 69 73 74 72 69 62 75 | 74 65 64 20 69 6e 20 74 |distribu|ted in t|
|000000c0| 68 65 20 68 6f 70 65 20 | 74 68 61 74 20 69 74 20 |he hope |that it |
|000000d0| 77 69 6c 6c 20 62 65 20 | 75 73 65 66 75 6c 2c 0a |will be |useful,.|
|000000e0| 25 20 20 62 75 74 20 57 | 49 54 48 4f 55 54 20 41 |% but W|ITHOUT A|
|000000f0| 4e 59 20 57 41 52 52 41 | 4e 54 59 3b 20 77 69 74 |NY WARRA|NTY; wit|
|00000100| 68 6f 75 74 20 65 76 65 | 6e 20 74 68 65 20 69 6d |hout eve|n the im|
|00000110| 70 6c 69 65 64 20 77 61 | 72 72 61 6e 74 79 20 6f |plied wa|rranty o|
|00000120| 66 0a 25 20 20 4d 45 52 | 43 48 41 4e 54 41 42 49 |f.% MER|CHANTABI|
|00000130| 4c 49 54 59 20 6f 72 20 | 46 49 54 4e 45 53 53 20 |LITY or |FITNESS |
|00000140| 46 4f 52 20 41 20 50 41 | 52 54 49 43 55 4c 41 52 |FOR A PA|RTICULAR|
|00000150| 20 50 55 52 50 4f 53 45 | 2e 0a 25 0a 25 3c 2a 64 | PURPOSE|..%.%<*d|
|00000160| 72 69 76 65 72 3e 0a 5c | 64 6f 63 75 6d 65 6e 74 |river>.\|document|
|00000170| 63 6c 61 73 73 7b 6c 74 | 78 64 6f 63 7d 0a 5c 75 |class{lt|xdoc}.\u|
|00000180| 73 65 70 61 63 6b 61 67 | 65 7b 74 65 78 74 66 69 |sepackag|e{textfi|
|00000190| 74 7d 0a 5c 62 65 67 69 | 6e 7b 64 6f 63 75 6d 65 |t}.\begi|n{docume|
|000001a0| 6e 74 7d 0a 20 5c 74 69 | 74 6c 65 7b 54 68 65 20 |nt}. \ti|tle{The |
|000001b0| 5c 74 65 78 74 73 66 7b | 74 65 78 74 66 69 74 7d |\textsf{|textfit}|
|000001c0| 20 70 61 63 6b 61 67 65 | 20 66 6f 72 0a 73 63 61 | package| for.sca|
|000001d0| 6c 69 6e 67 20 75 70 20 | 74 65 78 74 20 74 6f 20 |ling up |text to |
|000001e0| 61 20 64 65 73 69 72 65 | 64 20 73 69 7a 65 5c 74 |a desire|d size\t|
|000001f0| 68 61 6e 6b 73 7b 54 68 | 69 73 20 66 69 6c 65 0a |hanks{Th|is file.|
|00000200| 20 20 20 20 20 20 20 20 | 68 61 73 20 76 65 72 73 | |has vers|
|00000210| 69 6f 6e 20 6e 75 6d 62 | 65 72 20 5c 66 69 6c 65 |ion numb|er \file|
|00000220| 76 65 72 73 69 6f 6e 2c | 20 6c 61 73 74 0a 20 20 |version,| last. |
|00000230| 20 20 20 20 20 20 72 65 | 76 69 73 65 64 20 5c 66 | re|vised \f|
|00000240| 69 6c 65 64 61 74 65 2e | 7d 7d 0a 20 5c 61 75 74 |iledate.|}}. \aut|
|00000250| 68 6f 72 7b 53 65 62 61 | 73 74 69 61 6e 20 52 61 |hor{Seba|stian Ra|
|00000260| 68 74 7a 20 5c 61 6e 64 | 20 50 68 69 6c 20 54 61 |htz \and| Phil Ta|
|00000270| 79 6c 6f 72 7d 0a 20 5c | 64 61 74 65 7b 5c 66 69 |ylor}. \|date{\fi|
|00000280| 6c 65 64 61 74 65 7d 0a | 20 5c 6d 61 6b 65 74 69 |ledate}.| \maketi|
|00000290| 74 6c 65 0a 20 5c 74 61 | 62 6c 65 6f 66 63 6f 6e |tle. \ta|bleofcon|
|000002a0| 74 65 6e 74 73 0a 20 5c | 44 6f 63 49 6e 70 75 74 |tents. \|DocInput|
|000002b0| 7b 74 65 78 74 66 69 74 | 2e 64 74 78 7d 0a 20 5c |{textfit|.dtx}. \|
|000002c0| 65 6e 64 7b 64 6f 63 75 | 6d 65 6e 74 7d 0a 25 3c |end{docu|ment}.%<|
|000002d0| 2f 64 72 69 76 65 72 3e | 0a 25 20 5c 66 69 0a 25 |/driver>|.% \fi.%|
|000002e0| 20 5c 43 68 65 63 6b 53 | 75 6d 7b 32 38 31 7d 0a | \CheckS|um{281}.|
|000002f0| 25 0a 25 20 5c 73 65 63 | 74 69 6f 6e 7b 49 6e 74 |%.% \sec|tion{Int|
|00000300| 72 6f 64 75 63 74 69 6f | 6e 7d 0a 25 0a 25 20 54 |roductio|n}.%.% T|
|00000310| 68 65 20 75 73 65 72 20 | 6e 65 65 64 73 20 74 6f |he user |needs to|
|00000320| 20 62 65 20 61 62 6c 65 | 20 74 6f 20 73 70 65 63 | be able| to spec|
|00000330| 69 66 79 20 74 68 65 20 | 77 69 64 74 68 20 6f 72 |ify the |width or|
|00000340| 20 68 65 69 67 68 74 20 | 66 6f 72 20 74 65 78 74 | height |for text|
|00000350| 2c 20 61 6e 64 0a 25 20 | 75 73 65 20 74 68 65 20 |, and.% |use the |
|00000360| 6c 61 72 67 65 73 74 20 | 73 69 7a 65 20 6e 65 63 |largest |size nec|
|00000370| 65 73 73 61 72 79 20 74 | 6f 20 66 69 6c 6c 20 74 |essary t|o fill t|
|00000380| 68 61 74 20 77 69 64 74 | 68 20 6f 72 20 68 65 69 |hat widt|h or hei|
|00000390| 67 68 74 2e 20 59 6f 75 | 0a 25 20 63 61 6e 20 63 |ght. You|.% can c|
|000003a0| 68 6f 6f 73 65 20 77 68 | 65 74 68 65 72 20 74 6f |hoose wh|ether to|
|000003b0| 20 68 61 76 65 20 74 68 | 65 20 73 69 7a 65 20 69 | have th|e size i|
|000003c0| 6e 63 72 65 61 73 65 64 | 20 62 79 20 73 69 6d 70 |ncreased| by simp|
|000003d0| 6c 65 20 70 6f 69 6e 74 | 73 2c 20 6f 72 0a 25 20 |le point|s, or.% |
|000003e0| 62 79 20 75 73 69 6e 67 | 20 6d 61 67 73 74 65 70 |by using| magstep|
|000003f0| 73 2e 0a 25 20 55 73 61 | 67 65 3a 0a 25 20 5c 76 |s..% Usa|ge:.% \v|
|00000400| 65 72 62 7c 5c 73 63 61 | 6c 65 74 6f 77 69 64 74 |erb|\sca|letowidt|
|00000410| 68 7b 33 69 6e 7d 7b 54 | 68 69 73 20 69 73 20 74 |h{3in}{T|his is t|
|00000420| 68 65 20 77 61 79 20 6f | 66 20 74 68 65 20 77 6f |he way o|f the wo|
|00000430| 72 6c 64 7d 7c 0a 25 20 | 5c 76 65 72 62 7c 5c 73 |rld}|.% |\verb|\s|
|00000440| 63 61 6c 65 74 6f 68 65 | 69 67 68 74 7b 37 6d 6d |caletohe|ight{7mm|
|00000450| 7d 7b 54 68 69 73 20 69 | 73 20 74 68 65 20 77 61 |}{This i|s the wa|
|00000460| 79 20 6f 66 20 74 68 65 | 20 77 6f 72 6c 64 7d 7c |y of the| world}||
|00000470| 0a 25 20 44 65 74 61 69 | 6c 73 20 61 72 65 20 63 |.% Detai|ls are c|
|00000480| 6f 6e 74 72 6f 6c 6c 65 | 64 20 62 79 20 74 77 6f |ontrolle|d by two|
|00000490| 20 6f 70 74 69 6f 6e 73 | 3a 20 60 6d 61 67 73 74 | options|: `magst|
|000004a0| 65 70 27 20 77 69 6c 6c | 0a 25 20 6d 61 6b 65 20 |ep' will|.% make |
|000004b0| 74 68 65 20 73 79 73 74 | 65 6d 20 75 73 65 20 6d |the syst|em use m|
|000004c0| 61 67 73 74 65 70 73 2c | 20 6e 6f 74 20 70 6f 69 |agsteps,| not poi|
|000004d0| 6e 74 73 2c 20 61 6e 64 | 20 60 6e 6f 69 73 79 27 |nts, and| `noisy'|
|000004e0| 0a 25 20 77 69 6c 6c 20 | 70 72 6f 64 75 63 65 20 |.% will |produce |
|000004f0| 75 73 65 66 75 6c 20 6d | 65 73 73 61 67 65 73 2e |useful m|essages.|
|00000500| 0a 25 20 5c 63 68 61 6e | 67 65 73 7b 31 7d 7b 35 |.% \chan|ges{1}{5|
|00000510| 2f 32 2f 39 33 7d 7b 57 | 6f 72 6b 65 64 20 6f 75 |/2/93}{W|orked ou|
|00000520| 74 20 70 6f 69 6e 74 20 | 73 69 7a 65 20 62 79 20 |t point |size by |
|00000530| 74 72 69 61 6c 20 61 6e | 64 20 65 72 72 6f 72 2c |trial an|d error,|
|00000540| 20 69 6e 63 72 65 61 73 | 69 6e 67 0a 25 20 20 20 | increas|ing.% |
|00000550| 69 74 20 69 6e 20 69 6e | 63 72 65 6d 65 6e 74 73 |it in in|crements|
|00000560| 20 6f 66 20 31 70 74 20 | 75 6e 74 69 6c 20 72 65 | of 1pt |until re|
|00000570| 73 75 6c 74 20 72 65 61 | 63 68 65 64 20 64 65 73 |sult rea|ched des|
|00000580| 69 72 65 64 20 73 69 7a | 65 7d 0a 25 20 5c 63 68 |ired siz|e}.% \ch|
|00000590| 61 6e 67 65 73 7b 32 7d | 7b 39 2f 32 2f 39 33 7d |anges{2}|{9/2/93}|
|000005a0| 7b 46 69 6e 61 6c 20 70 | 6f 69 6e 74 20 73 69 7a |{Final p|oint siz|
|000005b0| 65 20 63 61 6c 63 75 6c | 61 74 65 64 20 62 79 20 |e calcul|ated by |
|000005c0| 63 6f 6d 70 61 72 69 73 | 6f 6e 20 6f 66 20 73 69 |comparis|on of si|
|000005d0| 7a 65 20 61 74 0a 25 20 | 20 20 20 31 30 70 74 2e |ze at.% | 10pt.|
|000005e0| 20 66 61 73 74 65 72 2c | 20 61 6e 64 20 74 61 6b | faster,| and tak|
|000005f0| 65 73 20 6c 65 73 73 20 | 54 65 58 20 6d 65 6d 6f |es less |TeX memo|
|00000600| 72 79 20 66 6f 72 20 69 | 6e 74 65 72 6d 65 64 69 |ry for i|ntermedi|
|00000610| 61 74 65 20 66 6f 6e 74 | 73 7d 0a 25 20 5c 63 68 |ate font|s}.% \ch|
|00000620| 61 6e 67 65 73 7b 33 7d | 7b 31 30 2f 31 2f 39 34 |anges{3}|{10/1/94|
|00000630| 7d 7b 52 65 76 69 73 65 | 64 20 74 6f 20 6d 61 6b |}{Revise|d to mak|
|00000640| 65 20 69 74 20 61 20 5c | 4c 61 54 65 58 65 5c 20 |e it a \|LaTeXe\ |
|00000650| 70 61 63 6b 61 67 65 7d | 0a 25 20 5c 63 68 61 6e |package}|.% \chan|
|00000660| 67 65 73 7b 34 7d 7b 36 | 2f 32 2f 39 34 7d 7b 49 |ges{4}{6|/2/94}{I|
|00000670| 74 20 6f 6e 6c 79 20 77 | 6f 72 6b 65 64 20 69 66 |t only w|orked if|
|00000680| 20 60 6e 6f 69 73 79 27 | 20 6f 70 74 69 6f 6e 20 | `noisy'| option |
|00000690| 77 61 73 20 67 69 76 65 | 6e 20 2e 2e 2e 7d 0a 25 |was give|n ...}.%|
|000006a0| 20 5c 63 68 61 6e 67 65 | 73 7b 35 7d 7b 31 35 2f | \change|s{5}{15/|
|000006b0| 34 2f 39 34 7d 7b 43 68 | 65 63 6b 65 64 20 61 67 |4/94}{Ch|ecked ag|
|000006c0| 61 69 6e 20 66 6f 72 20 | 5c 4c 61 54 65 58 65 7d |ain for |\LaTeXe}|
|000006d0| 0a 25 0a 25 45 78 61 6d | 70 6c 65 73 3b 20 6e 6f |.%.%Exam|ples; no|
|000006e0| 74 65 20 74 68 61 74 20 | 74 68 65 20 62 61 73 65 |te that |the base|
|000006f0| 20 66 6f 6e 74 20 69 73 | 20 74 61 6b 65 6e 20 66 | font is| taken f|
|00000700| 72 6f 6d 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |rom the |current |
|00000710| 73 74 61 74 65 20 77 68 | 65 6e 0a 25 79 6f 75 20 |state wh|en.%you |
|00000720| 65 6e 74 65 72 20 74 68 | 65 20 6d 61 63 72 6f 73 |enter th|e macros|
|00000730| 2e 20 73 6f 20 69 66 20 | 79 6f 75 20 73 74 61 72 |. so if |you star|
|00000740| 74 20 6f 66 66 20 77 69 | 74 68 20 61 20 6c 61 72 |t off wi|th a lar|
|00000750| 67 65 20 66 6f 6e 74 20 | 28 65 67 0a 25 63 6d 72 |ge font |(eg.%cmr|
|00000760| 31 37 29 2c 20 69 74 20 | 77 69 6c 6c 20 67 69 76 |17), it |will giv|
|00000770| 65 20 61 20 64 69 66 66 | 65 72 65 6e 74 20 72 65 |e a diff|erent re|
|00000780| 73 75 6c 74 20 66 72 6f | 6d 20 74 68 61 74 20 6f |sult fro|m that o|
|00000790| 62 74 61 69 6e 65 64 20 | 62 79 20 73 63 61 6c 69 |btained |by scali|
|000007a0| 6e 67 0a 25 75 70 20 63 | 6d 72 35 2e 0a 25 0a 25 |ng.%up c|mr5..%.%|
|000007b0| 5c 73 63 61 6c 65 74 6f | 77 69 64 74 68 7b 31 69 |\scaleto|width{1i|
|000007c0| 6e 7d 7b 54 68 69 73 20 | 69 73 20 74 68 65 20 77 |n}{This |is the w|
|000007d0| 61 79 20 6f 66 20 74 68 | 65 20 77 6f 72 6c 64 7d |ay of th|e world}|
|000007e0| 0a 25 0a 25 7b 5c 48 75 | 67 65 20 5c 73 63 61 6c |.%.%{\Hu|ge \scal|
|000007f0| 65 74 6f 77 69 64 74 68 | 7b 31 69 6e 7d 7b 54 68 |etowidth|{1in}{Th|
|00000800| 69 73 20 69 73 20 74 68 | 65 20 77 61 79 20 6f 66 |is is th|e way of|
|00000810| 20 74 68 65 20 77 6f 72 | 6c 64 7d 7d 0a 25 0a 25 | the wor|ld}}.%.%|
|00000820| 7b 5c 48 75 67 65 20 5c | 73 63 61 6c 65 74 6f 77 |{\Huge \|scaletow|
|00000830| 69 64 74 68 7b 35 69 6e | 7d 7b 54 68 69 73 20 69 |idth{5in|}{This i|
|00000840| 73 20 74 68 65 20 77 61 | 79 20 6f 66 20 74 68 65 |s the wa|y of the|
|00000850| 20 77 6f 72 6c 64 7d 7d | 0a 25 0a 25 5c 73 63 61 | world}}|.%.%\sca|
|00000860| 6c 65 74 6f 77 69 64 74 | 68 7b 35 69 6e 7d 7b 54 |letowidt|h{5in}{T|
|00000870| 68 69 73 20 69 73 20 74 | 68 65 20 77 61 79 20 6f |his is t|he way o|
|00000880| 66 20 74 68 65 20 77 6f | 72 6c 64 7d 0a 25 0a 25 |f the wo|rld}.%.%|
|00000890| 7b 5c 48 75 67 65 20 5c | 73 63 61 6c 65 74 6f 68 |{\Huge \|scaletoh|
|000008a0| 65 69 67 68 74 7b 31 2e | 33 69 6e 7d 7b 43 6f 77 |eight{1.|3in}{Cow|
|000008b0| 61 62 75 6e 67 61 21 7d | 20 7d 0a 25 0a 25 20 5c |abunga!}| }.%.% \|
|000008c0| 73 63 61 6c 65 74 6f 77 | 69 64 74 68 7b 35 69 6e |scaletow|idth{5in|
|000008d0| 7d 7b 47 6c 6f 75 63 65 | 73 74 65 72 73 68 69 72 |}{Glouce|stershir|
|000008e0| 65 20 20 57 61 72 77 69 | 63 6b 73 68 69 72 65 20 |e Warwi|ckshire |
|000008f0| 52 61 69 6c 77 61 79 7d | 0a 25 0a 25 5c 53 63 61 |Railway}|.%.%\Sca|
|00000900| 6c 65 62 79 4d 61 67 73 | 74 65 70 73 74 72 75 65 |lebyMags|tepstrue|
|00000910| 0a 25 0a 25 5c 73 63 61 | 6c 65 74 6f 77 69 64 74 |.%.%\sca|letowidt|
|00000920| 68 7b 31 69 6e 7d 7b 54 | 68 69 73 20 69 73 20 74 |h{1in}{T|his is t|
|00000930| 68 65 20 77 61 79 20 6f | 66 20 74 68 65 20 77 6f |he way o|f the wo|
|00000940| 72 6c 64 7d 0a 25 0a 25 | 7b 5c 48 75 67 65 20 5c |rld}.%.%|{\Huge \|
|00000950| 73 63 61 6c 65 74 6f 77 | 69 64 74 68 7b 31 69 6e |scaletow|idth{1in|
|00000960| 7d 7b 54 68 69 73 20 69 | 73 20 74 68 65 20 77 61 |}{This i|s the wa|
|00000970| 79 20 6f 66 20 74 68 65 | 20 77 6f 72 6c 64 7d 7d |y of the| world}}|
|00000980| 0a 25 0a 25 7b 5c 48 75 | 67 65 20 5c 73 63 61 6c |.%.%{\Hu|ge \scal|
|00000990| 65 74 6f 77 69 64 74 68 | 7b 35 69 6e 7d 7b 54 68 |etowidth|{5in}{Th|
|000009a0| 69 73 20 69 73 20 74 68 | 65 20 77 61 79 20 6f 66 |is is th|e way of|
|000009b0| 20 74 68 65 20 77 6f 72 | 6c 64 7d 7d 0a 25 0a 25 | the wor|ld}}.%.%|
|000009c0| 5c 73 63 61 6c 65 74 6f | 77 69 64 74 68 7b 35 69 |\scaleto|width{5i|
|000009d0| 6e 7d 7b 54 68 69 73 20 | 69 73 20 74 68 65 20 77 |n}{This |is the w|
|000009e0| 61 79 20 6f 66 20 74 68 | 65 20 77 6f 72 6c 64 7d |ay of th|e world}|
|000009f0| 0a 25 0a 25 7b 5c 48 75 | 67 65 20 5c 73 63 61 6c |.%.%{\Hu|ge \scal|
|00000a00| 65 74 6f 68 65 69 67 68 | 74 7b 31 2e 33 69 6e 7d |etoheigh|t{1.3in}|
|00000a10| 7b 43 6f 77 61 62 75 6e | 67 61 21 7d 20 7d 0a 25 |{Cowabun|ga!} }.%|
|00000a20| 20 5c 53 74 6f 70 45 76 | 65 6e 74 75 61 6c 6c 79 | \StopEv|entually|
|00000a30| 7b 7d 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |{}.% |\begin{m|
|00000a40| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 3c 2a 70 61 63 |acrocode|}.%<*pac|
|00000a50| 6b 61 67 65 3e 0a 5c 4e | 65 65 64 73 54 65 58 46 |kage>.\N|eedsTeXF|
|00000a60| 6f 72 6d 61 74 7b 4c 61 | 54 65 58 32 65 7d 0a 5c |ormat{La|TeX2e}.\|
|00000a70| 50 72 6f 76 69 64 65 73 | 50 61 63 6b 61 67 65 7b |Provides|Package{|
|00000a80| 74 65 78 74 66 69 74 7d | 5b 5c 66 69 6c 65 64 61 |textfit}|[\fileda|
|00000a90| 74 65 5d 0a 5c 6e 65 77 | 69 66 5c 69 66 53 63 61 |te].\new|if\ifSca|
|00000aa0| 6c 65 62 79 4d 61 67 73 | 74 65 70 73 0a 5c 6e 65 |lebyMags|teps.\ne|
|00000ab0| 77 69 66 5c 69 66 4e 6f | 69 73 79 46 69 74 74 69 |wif\ifNo|isyFitti|
|00000ac0| 6e 67 0a 5c 4e 6f 69 73 | 79 46 69 74 74 69 6e 67 |ng.\Nois|yFitting|
|00000ad0| 66 61 6c 73 65 0a 5c 53 | 63 61 6c 65 62 79 4d 61 |false.\S|calebyMa|
|00000ae0| 67 73 74 65 70 73 66 61 | 6c 73 65 0a 5c 44 65 63 |gstepsfa|lse.\Dec|
|00000af0| 6c 61 72 65 4f 70 74 69 | 6f 6e 7b 6e 6f 69 73 79 |lareOpti|on{noisy|
|00000b00| 7d 7b 5c 4e 6f 69 73 79 | 46 69 74 74 69 6e 67 74 |}{\Noisy|Fittingt|
|00000b10| 72 75 65 7d 0a 5c 44 65 | 63 6c 61 72 65 4f 70 74 |rue}.\De|clareOpt|
|00000b20| 69 6f 6e 7b 6d 61 67 73 | 74 65 70 7d 7b 5c 53 63 |ion{mags|tep}{\Sc|
|00000b30| 61 6c 65 62 79 4d 61 67 | 73 74 65 70 73 74 72 75 |alebyMag|stepstru|
|00000b40| 65 7d 0a 5c 50 72 6f 63 | 65 73 73 4f 70 74 69 6f |e}.\Proc|essOptio|
|00000b50| 6e 73 0a 5c 6e 65 77 63 | 6f 75 6e 74 20 5c 6d 61 |ns.\newc|ount \ma|
|00000b60| 67 73 40 66 40 72 0a 5c | 6e 65 77 64 69 6d 65 6e |gs@f@r.\|newdimen|
|00000b70| 20 5c 64 65 73 69 72 65 | 64 40 73 69 7a 65 0a 5c | \desire|d@size.\|
|00000b80| 6e 65 77 63 6f 75 6e 74 | 20 5c 72 40 6d 61 69 6e |newcount| \r@main|
|00000b90| 64 65 72 0a 5c 6e 65 77 | 63 6f 75 6e 74 20 5c 6d |der.\new|count \m|
|00000ba0| 40 67 73 74 65 70 63 6f | 75 6e 74 0a 5c 6e 65 77 |@gstepco|unt.\new|
|00000bb0| 63 6f 75 6e 74 20 5c 6d | 40 67 73 74 65 70 6c 69 |count \m|@gstepli|
|00000bc0| 6d 69 74 0a 5c 6e 65 77 | 63 6f 75 6e 74 20 5c 6d |mit.\new|count \m|
|00000bd0| 40 67 73 74 65 70 76 61 | 6c 75 65 0a 5c 6e 65 77 |@gstepva|lue.\new|
|00000be0| 64 69 6d 65 6e 20 5c 6d | 40 67 73 74 65 70 64 69 |dimen \m|@gstepdi|
|00000bf0| 6d 65 6e 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |men.% | \end{ma|
|00000c00| 63 72 6f 63 6f 64 65 7d | 0a 25 20 43 6f 64 65 20 |crocode}|.% Code |
|00000c10| 66 6f 72 20 77 6f 72 6b | 69 6e 67 20 6f 75 74 20 |for work|ing out |
|00000c20| 74 68 65 20 72 69 67 68 | 74 20 6d 61 67 73 74 65 |the righ|t magste|
|00000c30| 70 20 28 74 68 69 73 20 | 69 73 20 50 68 69 6c 27 |p (this |is Phil'|
|00000c40| 73 20 62 69 74 29 2e 0a | 25 20 20 20 20 5c 62 65 |s bit)..|% \be|
|00000c50| 67 69 6e 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 5c |gin{macr|ocode}.\|
|00000c60| 64 65 66 20 5c 6d 61 67 | 73 74 65 70 73 20 7b 5c |def \mag|steps {\|
|00000c70| 61 66 74 65 72 61 73 73 | 69 67 6e 6d 65 6e 74 20 |afterass|ignment |
|00000c80| 5c 6d 40 67 73 74 65 70 | 73 20 5c 6d 40 67 73 74 |\m@gstep|s \m@gst|
|00000c90| 65 70 6c 69 6d 69 74 20 | 3d 20 7d 0a 5c 64 65 66 |eplimit |= }.\def|
|00000ca0| 20 5c 6d 40 67 73 74 65 | 70 73 0a 20 20 20 20 7b | \m@gste|ps. {|
|00000cb0| 5c 6c 65 74 20 5c 40 72 | 20 3d 20 5c 6f 72 0a 20 |\let \@r| = \or. |
|00000cc0| 20 20 20 20 5c 64 65 66 | 20 5c 6f 72 20 7b 5c 6e | \def| \or {\n|
|00000cd0| 6f 65 78 70 61 6e 64 20 | 5c 6f 72 7d 25 0a 20 20 |oexpand |\or}%. |
|00000ce0| 20 20 20 5c 6d 40 67 73 | 74 65 70 64 69 6d 65 6e | \m@gs|tepdimen|
|00000cf0| 20 3d 20 30 2e 31 36 36 | 36 36 37 20 5c 6d 61 78 | = 0.166|667 \max|
|00000d00| 64 69 6d 65 6e 0a 20 20 | 20 20 20 5c 6d 40 67 73 |dimen. | \m@gs|
|00000d10| 74 65 70 76 61 6c 75 65 | 20 3d 20 31 30 30 30 20 |tepvalue| = 1000 |
|00000d20| 0a 20 20 20 20 20 5c 6d | 40 67 73 74 65 70 63 6f |. \m|@gstepco|
|00000d30| 75 6e 74 20 3d 20 30 0a | 20 20 20 20 20 5c 64 65 |unt = 0.| \de|
|00000d40| 66 20 5c 6d 61 67 73 74 | 65 70 20 7b 7d 25 0a 20 |f \magst|ep {}%. |
|00000d50| 20 20 20 20 5c 6c 6f 6f | 70 0a 20 20 20 20 20 5c | \loo|p. \|
|00000d60| 69 66 6e 75 6d 20 20 20 | 20 20 5c 6d 40 67 73 74 |ifnum | \m@gst|
|00000d70| 65 70 63 6f 75 6e 74 20 | 3c 20 5c 6d 40 67 73 74 |epcount |< \m@gst|
|00000d80| 65 70 6c 69 6d 69 74 0a | 20 20 20 20 20 20 20 20 |eplimit.| |
|00000d90| 20 20 20 20 20 20 20 20 | 5c 61 64 76 61 6e 63 65 | |\advance|
|00000da0| 20 5c 6d 40 67 73 74 65 | 70 63 6f 75 6e 74 20 62 | \m@gste|pcount b|
|00000db0| 79 20 31 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |y 1. | |
|00000dc0| 20 20 20 20 5c 69 66 6e | 75 6d 20 5c 6d 40 67 73 | \ifn|um \m@gs|
|00000dd0| 74 65 70 76 61 6c 75 65 | 20 3e 20 5c 6d 40 67 73 |tepvalue| > \m@gs|
|00000de0| 74 65 70 64 69 6d 65 6e | 0a 20 20 20 20 20 20 20 |tepdimen|. |
|00000df0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e00| 20 5c 61 64 76 61 6e 63 | 65 20 5c 6d 40 67 73 74 | \advanc|e \m@gst|
|00000e10| 65 70 63 6f 75 6e 74 20 | 62 79 20 2d 31 0a 20 20 |epcount |by -1. |
|00000e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e30| 20 20 20 20 20 20 5c 6d | 65 73 73 61 67 65 20 7b | \m|essage {|
|00000e40| 53 6f 72 72 79 20 2d 2d | 2d 20 69 6e 74 65 67 65 |Sorry --|- intege|
|00000e50| 72 20 6f 76 65 72 66 6c | 6f 77 20 77 6f 75 6c 64 |r overfl|ow would|
|00000e60| 20 6f 63 63 75 72 20 69 | 66 0a 20 20 20 20 20 20 | occur i|f. |
|00000e70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e90| 20 20 49 20 77 65 6e 74 | 20 61 6e 79 20 66 75 72 | I went| any fur|
|00000ea0| 74 68 65 72 3b 20 73 74 | 6f 70 70 65 64 20 61 74 |ther; st|opped at|
|00000eb0| 20 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | . | |
|00000ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ee0| 20 20 5c 74 68 65 20 5c | 6d 40 67 73 74 65 70 63 | \the \|m@gstepc|
|00000ef0| 6f 75 6e 74 2e 7d 0a 20 | 20 20 20 20 20 20 20 20 |ount.}. | |
|00000f00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 5c | | \|
|00000f10| 6d 40 67 73 74 65 70 6c | 69 6d 69 74 20 3d 20 5c |m@gstepl|imit = \|
|00000f20| 6d 40 67 73 74 65 70 63 | 6f 75 6e 74 20 0a 20 20 |m@gstepc|ount . |
|00000f30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 5c 65 | | \e|
|00000f40| 6c 73 65 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |lse. | |
|00000f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 5c 6d 75 6c | | \mul|
|00000f60| 74 69 70 6c 79 20 5c 6d | 40 67 73 74 65 70 76 61 |tiply \m|@gstepva|
|00000f70| 6c 75 65 20 62 79 20 31 | 32 0a 20 20 20 20 20 20 |lue by 1|2. |
|00000f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f90| 20 20 5c 6d 75 6c 74 69 | 70 6c 79 20 5c 72 40 6d | \multi|ply \r@m|
|00000fa0| 61 69 6e 64 65 72 20 62 | 79 20 31 32 0a 20 20 20 |ainder b|y 12. |
|00000fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000fc0| 20 20 20 20 20 5c 64 69 | 76 69 64 65 20 5c 72 40 | \di|vide \r@|
|00000fd0| 6d 61 69 6e 64 65 72 20 | 62 79 20 31 30 0a 20 20 |mainder |by 10. |
|00000fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ff0| 20 20 20 20 20 20 5c 61 | 64 76 61 6e 63 65 20 5c | \a|dvance \|
|00001000| 6d 40 67 73 74 65 70 76 | 61 6c 75 65 20 62 79 20 |m@gstepv|alue by |
|00001010| 5c 72 40 6d 61 69 6e 64 | 65 72 0a 20 20 20 20 20 |\r@maind|er. |
|00001020| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001030| 20 20 20 5c 72 40 6d 61 | 69 6e 64 65 72 20 3d 20 | \r@ma|inder = |
|00001040| 5c 6d 40 67 73 74 65 70 | 76 61 6c 75 65 0a 20 20 |\m@gstep|value. |
|00001050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001060| 20 20 20 20 20 20 5c 64 | 69 76 69 64 65 20 5c 6d | \d|ivide \m|
|00001070| 40 67 73 74 65 70 76 61 | 6c 75 65 20 62 79 20 31 |@gstepva|lue by 1|
|00001080| 30 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |0. | |
|00001090| 20 20 20 20 20 20 20 20 | 20 20 5c 6d 75 6c 74 69 | | \multi|
|000010a0| 70 6c 79 20 5c 6d 40 67 | 73 74 65 70 76 61 6c 75 |ply \m@g|stepvalu|
|000010b0| 65 20 62 79 20 31 30 0a | 20 20 20 20 20 20 20 20 |e by 10.| |
|000010c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000010d0| 5c 61 64 76 61 6e 63 65 | 20 5c 72 40 6d 61 69 6e |\advance| \r@main|
|000010e0| 64 65 72 20 62 79 20 2d | 5c 6d 40 67 73 74 65 70 |der by -|\m@gstep|
|000010f0| 76 61 6c 75 65 0a 20 20 | 20 20 20 20 20 20 20 20 |value. | |
|00001100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 5c 64 | | \d|
|00001110| 69 76 69 64 65 20 5c 6d | 40 67 73 74 65 70 76 61 |ivide \m|@gstepva|
|00001120| 6c 75 65 20 62 79 20 31 | 30 0a 20 20 20 20 20 20 |lue by 1|0. |
|00001130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001140| 20 20 5c 69 66 6e 75 6d | 20 5c 72 40 6d 61 69 6e | \ifnum| \r@main|
|00001150| 64 65 72 20 3c 20 35 0a | 20 20 20 20 20 20 20 20 |der < 5.| |
|00001160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001170| 20 20 20 20 20 20 20 5c | 65 64 65 66 20 5c 6d 61 | \|edef \ma|
|00001180| 67 73 74 65 70 20 7b 5c | 6d 61 67 73 74 65 70 20 |gstep {\|magstep |
|00001190| 5c 6f 72 20 5c 74 68 65 | 20 5c 6d 40 67 73 74 65 |\or \the| \m@gste|
|000011a0| 70 76 61 6c 75 65 7d 25 | 0a 20 20 20 20 20 20 20 |pvalue}%|. |
|000011b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000011c0| 20 5c 65 6c 73 65 0a 20 | 20 20 20 20 20 20 20 20 | \else. | |
|000011d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000011e0| 20 20 20 20 20 20 5c 61 | 64 76 61 6e 63 65 20 5c | \a|dvance \|
|000011f0| 6d 40 67 73 74 65 70 76 | 61 6c 75 65 20 62 79 20 |m@gstepv|alue by |
|00001200| 31 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |1. | |
|00001210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001220| 20 5c 65 64 65 66 20 5c | 6d 61 67 73 74 65 70 20 | \edef \|magstep |
|00001230| 7b 5c 6d 61 67 73 74 65 | 70 20 5c 6f 72 20 5c 74 |{\magste|p \or \t|
|00001240| 68 65 20 5c 6d 40 67 73 | 74 65 70 76 61 6c 75 65 |he \m@gs|tepvalue|
|00001250| 7d 25 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}%. | |
|00001260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001270| 20 20 5c 61 64 76 61 6e | 63 65 20 5c 6d 40 67 73 | \advan|ce \m@gs|
|00001280| 74 65 70 76 61 6c 75 65 | 20 62 79 20 2d 31 0a 20 |tepvalue| by -1. |
|00001290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012a0| 20 20 20 20 20 20 20 5c | 66 69 0a 20 20 20 20 20 | \|fi. |
|000012b0| 20 20 20 20 20 20 20 20 | 20 20 20 5c 66 69 0a 20 | | \fi. |
|000012c0| 20 20 20 20 5c 72 65 70 | 65 61 74 0a 20 20 20 20 | \rep|eat. |
|000012d0| 20 5c 65 64 65 66 20 5c | 6d 61 67 73 74 65 70 20 | \edef \|magstep |
|000012e0| 23 23 31 25 0a 20 20 20 | 20 20 20 20 20 20 20 7b |##1%. | {|
|000012f0| 5c 6e 6f 65 78 70 61 6e | 64 20 5c 69 66 63 61 73 |\noexpan|d \ifcas|
|00001300| 65 20 23 23 31 0a 20 20 | 20 20 20 20 20 20 20 20 |e ##1. | |
|00001310| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 31 30 | | 10|
|00001320| 30 30 5c 6d 61 67 73 74 | 65 70 20 0a 20 20 20 20 |00\magst|ep . |
|00001330| 20 20 20 20 20 20 20 5c | 6e 6f 65 78 70 61 6e 64 | \|noexpand|
|00001340| 20 5c 65 6c 73 65 20 30 | 25 0a 20 20 20 20 20 20 | \else 0|%. |
|00001350| 20 20 20 20 20 5c 6e 6f | 65 78 70 61 6e 64 20 5c | \no|expand \|
|00001360| 6d 65 73 73 61 67 65 20 | 0a 20 20 20 20 20 20 20 |message |. |
|00001370| 20 20 20 20 20 20 20 20 | 20 7b 53 6f 72 72 79 20 | | {Sorry |
|00001380| 2d 2d 2d 20 5c 73 74 72 | 69 6e 67 20 5c 6d 61 67 |--- \str|ing \mag|
|00001390| 73 74 65 70 20 5c 73 70 | 61 63 65 20 23 23 31 0a |step \sp|ace ##1.|
|000013a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000013b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000013c0| 69 73 20 6e 6f 74 20 69 | 6e 20 72 61 6e 67 65 20 |is not i|n range |
|000013d0| 30 20 2e 2e 20 5c 74 68 | 65 20 5c 6d 40 67 73 74 |0 .. \th|e \m@gst|
|000013e0| 65 70 6c 69 6d 69 74 7d | 25 0a 20 20 20 20 20 20 |eplimit}|%. |
|000013f0| 20 20 20 20 20 5c 6e 6f | 65 78 70 61 6e 64 20 5c | \no|expand \|
|00001400| 66 69 0a 20 20 20 20 20 | 20 20 20 20 20 20 5c 6e |fi. | \n|
|00001410| 6f 65 78 70 61 6e 64 20 | 5c 72 65 6c 61 78 0a 20 |oexpand |\relax. |
|00001420| 20 20 20 20 20 20 20 20 | 20 7d 25 0a 20 20 20 20 | | }%. |
|00001430| 20 5c 6c 65 74 20 5c 6f | 72 20 3d 20 5c 40 72 0a | \let \o|r = \@r.|
|00001440| 20 20 20 20 7d 0a 5c 6d | 61 67 73 74 65 70 73 20 | }.\m|agsteps |
|00001450| 36 33 0a 5c 64 65 66 20 | 5c 46 6f 6e 74 6e 61 6d |63.\def |\Fontnam|
|00001460| 65 20 23 31 7b 5c 65 78 | 70 61 6e 64 61 66 74 65 |e #1{\ex|pandafte|
|00001470| 72 20 5c 73 74 72 69 70 | 40 73 69 7a 65 20 5c 66 |r \strip|@size \f|
|00001480| 6f 6e 74 6e 61 6d 65 20 | 23 31 20 7d 0a 5c 64 65 |ontname |#1 }.\de|
|00001490| 66 20 5c 73 74 72 69 70 | 40 73 69 7a 65 20 23 31 |f \strip|@size #1|
|000014a0| 20 23 32 23 7b 23 31 5c | 76 6f 69 64 40 40 40 7d | #2#{#1\|void@@@}|
|000014b0| 0a 5c 64 65 66 20 5c 76 | 6f 69 64 40 40 40 20 23 |.\def \v|oid@@@ #|
|000014c0| 31 7b 7d 0a 5c 67 64 65 | 66 5c 6e 40 64 23 31 2e |1{}.\gde|f\n@d#1.|
|000014d0| 23 32 3a 7b 23 31 7d 0a | 5c 64 65 66 20 5c 40 73 |#2:{#1}.|\def \@s|
|000014e0| 63 61 6c 65 74 6f 66 69 | 74 5b 23 31 5d 23 32 23 |caletofi|t[#1]#2#|
|000014f0| 33 7b 25 0a 20 20 20 20 | 20 5c 64 65 66 5c 48 62 |3{%. | \def\Hb|
|00001500| 40 78 7b 68 7d 5c 64 65 | 66 5c 48 40 72 56 7b 23 |@x{h}\de|f\H@rV{#|
|00001510| 31 7d 25 0a 20 20 20 20 | 20 5c 69 66 78 5c 48 40 |1}%. | \ifx\H@|
|00001520| 72 56 5c 48 62 40 78 5c | 64 65 66 5c 43 40 6d 70 |rV\Hb@x\|def\C@mp|
|00001530| 61 72 65 7b 5c 77 64 7d | 5c 65 6c 73 65 5c 64 65 |are{\wd}|\else\de|
|00001540| 66 5c 43 40 6d 70 61 72 | 65 7b 5c 68 74 7d 5c 66 |f\C@mpar|e{\ht}\f|
|00001550| 69 0a 20 20 20 20 20 5c | 64 65 73 69 72 65 64 40 |i. \|desired@|
|00001560| 73 69 7a 65 20 23 32 20 | 0a 20 20 20 20 20 5c 64 |size #2 |. \d|
|00001570| 65 66 5c 63 75 72 72 40 | 66 6f 6e 74 6e 61 6d 65 |ef\curr@|fontname|
|00001580| 7b 5c 46 6f 6e 74 6e 61 | 6d 65 20 5c 66 6f 6e 74 |{\Fontna|me \font|
|00001590| 20 7b 7d 20 7d 25 0a 20 | 20 20 20 20 5c 69 66 53 | {} }%. | \ifS|
|000015a0| 63 61 6c 65 62 79 4d 61 | 67 73 74 65 70 73 0a 20 |calebyMa|gsteps. |
|000015b0| 20 20 20 20 20 20 20 5c | 6d 61 67 73 40 66 40 72 | \|mags@f@r|
|000015c0| 20 5c 7a 40 0a 20 20 20 | 20 20 20 20 20 5c 73 65 | \z@. | \se|
|000015d0| 74 62 6f 78 20 30 20 3d | 20 5c 68 62 6f 78 7b 23 |tbox 0 =| \hbox{#|
|000015e0| 33 7d 25 0a 20 20 20 20 | 20 20 20 20 5c 64 65 66 |3}%. | \def|
|000015f0| 5c 40 69 6e 63 72 65 6d | 65 6e 74 7b 31 7d 25 0a |\@increm|ent{1}%.|
|00001600| 09 5c 64 65 66 5c 40 74 | 65 73 74 7b 3c 7d 25 0a |.\def\@t|est{<}%.|
|00001610| 20 20 20 20 20 20 20 20 | 5c 69 66 64 69 6d 20 5c | |\ifdim \|
|00001620| 43 40 6d 70 61 72 65 20 | 30 20 3e 20 5c 64 65 73 |C@mpare |0 > \des|
|00001630| 69 72 65 64 40 73 69 7a | 65 0a 20 20 20 20 20 20 |ired@siz|e. |
|00001640| 20 20 20 20 20 5c 6d 65 | 73 73 61 67 65 7b 57 68 | \me|ssage{Wh|
|00001650| 65 6e 20 73 63 61 6c 69 | 6e 67 20 62 79 20 4d 61 |en scali|ng by Ma|
|00001660| 67 73 74 65 70 73 2c 20 | 79 6f 75 20 63 61 6e 6e |gsteps, |you cann|
|00001670| 6f 74 20 67 6f 20 64 6f | 77 6e 77 61 72 64 73 21 |ot go do|wnwards!|
|00001680| 7d 25 0a 20 20 20 20 20 | 20 20 20 5c 66 69 0a 20 |}%. | \fi. |
|00001690| 20 20 20 20 20 20 20 5c | 6c 6f 6f 70 0a 20 20 20 | \|loop. |
|000016a0| 20 20 20 20 20 5c 66 6f | 6e 74 20 5c 74 65 6d 70 | \fo|nt \temp|
|000016b0| 40 66 6f 6e 74 20 3d 20 | 5c 63 75 72 72 40 66 6f |@font = |\curr@fo|
|000016c0| 6e 74 6e 61 6d 65 20 20 | 73 63 61 6c 65 64 20 5c |ntname |scaled \|
|000016d0| 6d 61 67 73 74 65 70 20 | 5c 6d 61 67 73 40 66 40 |magstep |\mags@f@|
|000016e0| 72 0a 09 5c 73 65 74 62 | 6f 78 20 30 20 3d 20 5c |r..\setb|ox 0 = \|
|000016f0| 68 62 6f 78 7b 7b 5c 74 | 65 6d 70 40 66 6f 6e 74 |hbox{{\t|emp@font|
|00001700| 20 23 33 7d 7d 25 0a 20 | 20 20 20 20 20 20 20 5c | #3}}%. | \|
|00001710| 69 66 4e 6f 69 73 79 46 | 69 74 74 69 6e 67 0a 20 |ifNoisyF|itting. |
|00001720| 20 20 20 20 20 20 20 20 | 20 5c 6d 65 73 73 61 67 | | \messag|
|00001730| 65 20 7b 54 72 79 69 6e | 67 20 5c 6e 6f 65 78 70 |e {Tryin|g \noexp|
|00001740| 61 6e 64 20 5c 6d 61 67 | 73 74 65 70 20 5c 74 68 |and \mag|step \th|
|00001750| 65 20 5c 6d 61 67 73 40 | 66 40 72 2e 2e 2e 7d 25 |e \mags@|f@r...}%|
|00001760| 0a 20 20 20 20 20 20 20 | 20 5c 66 69 0a 20 20 20 |. | \fi. |
|00001770| 20 20 20 20 20 5c 69 66 | 64 69 6d 20 5c 43 40 6d | \if|dim \C@m|
|00001780| 70 61 72 65 20 30 20 5c | 40 74 65 73 74 20 5c 64 |pare 0 \|@test \d|
|00001790| 65 73 69 72 65 64 40 73 | 69 7a 65 0a 20 20 20 20 |esired@s|ize. |
|000017a0| 20 20 20 20 20 20 20 5c | 61 64 76 61 6e 63 65 20 | \|advance |
|000017b0| 5c 6d 61 67 73 40 66 40 | 72 20 62 79 20 5c 40 69 |\mags@f@|r by \@i|
|000017c0| 6e 63 72 65 6d 65 6e 74 | 0a 20 20 20 20 20 20 20 |ncrement|. |
|000017d0| 20 5c 72 65 70 65 61 74 | 0a 20 20 20 20 20 20 20 | \repeat|. |
|000017e0| 20 5c 69 66 6e 75 6d 20 | 5c 6d 61 67 73 40 66 40 | \ifnum |\mags@f@|
|000017f0| 72 3d 5c 7a 40 0a 20 20 | 20 20 20 20 20 20 20 20 |r=\z@. | |
|00001800| 20 5c 6d 61 67 73 40 66 | 40 72 31 0a 20 20 20 20 | \mags@f|@r1. |
|00001810| 20 20 20 20 20 5c 66 69 | 0a 20 20 20 20 20 20 20 | \fi|. |
|00001820| 20 20 5c 61 64 76 61 6e | 63 65 20 5c 6d 61 67 73 | \advan|ce \mags|
|00001830| 40 66 40 72 20 62 79 20 | 2d 5c 40 69 6e 63 72 65 |@f@r by |-\@incre|
|00001840| 6d 65 6e 74 0a 20 20 20 | 20 20 5c 65 6c 73 65 0a |ment. | \else.|
|00001850| 20 20 20 20 20 20 20 20 | 5c 66 6f 6e 74 5c 74 65 | |\font\te|
|00001860| 6d 70 40 66 6f 6e 74 3d | 5c 63 75 72 72 40 66 6f |mp@font=|\curr@fo|
|00001870| 6e 74 6e 61 6d 65 20 61 | 74 31 70 74 0a 20 20 20 |ntname a|t1pt. |
|00001880| 20 20 20 20 20 5c 73 65 | 74 62 6f 78 20 30 20 3d | \se|tbox 0 =|
|00001890| 20 5c 68 62 6f 78 7b 7b | 5c 74 65 6d 70 40 66 6f | \hbox{{|\temp@fo|
|000018a0| 6e 74 20 23 33 7d 7d 25 | 0a 20 20 20 20 20 20 20 |nt #3}}%|. |
|000018b0| 20 5c 40 74 65 6d 70 64 | 69 6d 61 5c 43 40 6d 70 | \@tempd|ima\C@mp|
|000018c0| 61 72 65 30 0a 20 20 20 | 20 20 20 20 20 5c 6d 75 |are0. | \mu|
|000018d0| 6c 74 69 70 6c 79 5c 40 | 74 65 6d 70 64 69 6d 61 |ltiply\@|tempdima|
|000018e0| 20 62 79 20 35 30 30 20 | 25 5c 40 6d 0a 20 20 20 | by 500 |%\@m. |
|000018f0| 20 20 20 20 20 5c 64 65 | 66 5c 66 6f 6f 40 40 7b | \de|f\foo@@{|
|00001900| 5c 65 78 70 61 6e 64 61 | 66 74 65 72 5c 6e 40 64 |\expanda|fter\n@d|
|00001910| 5c 74 68 65 5c 40 74 65 | 6d 70 64 69 6d 61 3a 7d |\the\@te|mpdima:}|
|00001920| 25 0a 20 20 20 20 20 20 | 20 20 5c 40 74 65 6d 70 |%. | \@temp|
|00001930| 64 69 6d 62 5c 64 65 73 | 69 72 65 64 40 73 69 7a |dimb\des|ired@siz|
|00001940| 65 0a 20 20 20 20 20 20 | 20 20 5c 64 69 76 69 64 |e. | \divid|
|00001950| 65 5c 40 74 65 6d 70 64 | 69 6d 62 20 62 79 20 5c |e\@tempd|imb by \|
|00001960| 66 6f 6f 40 40 0a 20 20 | 20 20 20 20 20 20 5c 6d |foo@@. | \m|
|00001970| 75 6c 74 69 70 6c 79 5c | 40 74 65 6d 70 64 69 6d |ultiply\|@tempdim|
|00001980| 62 20 62 79 20 35 30 30 | 20 25 5c 40 6d 0a 20 20 |b by 500| %\@m. |
|00001990| 20 20 20 5c 66 69 0a 20 | 20 20 20 20 5c 69 66 53 | \fi. | \ifS|
|000019a0| 63 61 6c 65 62 79 4d 61 | 67 73 74 65 70 73 0a 20 |calebyMa|gsteps. |
|000019b0| 20 20 20 20 20 20 20 5c | 69 66 4e 6f 69 73 79 46 | \|ifNoisyF|
|000019c0| 69 74 74 69 6e 67 0a 09 | 20 20 5c 6d 65 73 73 61 |itting..| \messa|
|000019d0| 67 65 20 7b 54 68 65 20 | 63 61 6c 63 75 6c 61 74 |ge {The |calculat|
|000019e0| 65 64 20 66 6f 6e 74 20 | 69 73 20 5c 63 75 72 72 |ed font |is \curr|
|000019f0| 40 66 6f 6e 74 6e 61 6d | 65 20 0a 20 20 20 20 20 |@fontnam|e . |
|00001a00| 20 20 20 20 20 20 73 63 | 61 6c 65 64 20 5c 6e 6f | sc|aled \no|
|00001a10| 65 78 70 61 6e 64 20 5c | 6d 61 67 73 74 65 70 20 |expand \|magstep |
|00001a20| 5c 74 68 65 20 5c 6d 61 | 67 73 40 66 40 72 7d 25 |\the \ma|gs@f@r}%|
|00001a30| 0a 20 20 20 20 20 20 20 | 20 5c 66 69 0a 20 20 20 |. | \fi. |
|00001a40| 20 20 20 20 20 5c 66 6f | 6e 74 20 5c 74 65 6d 70 | \fo|nt \temp|
|00001a50| 40 66 6f 6e 74 20 3d 20 | 5c 63 75 72 72 40 66 6f |@font = |\curr@fo|
|00001a60| 6e 74 6e 61 6d 65 20 73 | 63 61 6c 65 64 20 5c 6d |ntname s|caled \m|
|00001a70| 61 67 73 74 65 70 20 5c | 6d 61 67 73 40 66 40 72 |agstep \|mags@f@r|
|00001a80| 0a 20 20 20 20 20 5c 65 | 6c 73 65 0a 20 20 20 20 |. \e|lse. |
|00001a90| 20 20 20 20 5c 69 66 4e | 6f 69 73 79 46 69 74 74 | \ifN|oisyFitt|
|00001aa0| 69 6e 67 0a 20 20 20 20 | 20 20 20 20 20 20 20 5c |ing. | \|
|00001ab0| 6d 65 73 73 61 67 65 20 | 7b 54 68 65 20 63 61 6c |message |{The cal|
|00001ac0| 63 75 6c 61 74 65 64 20 | 66 6f 6e 74 20 69 73 20 |culated |font is |
|00001ad0| 5c 63 75 72 72 40 66 6f | 6e 74 6e 61 6d 65 20 2d |\curr@fo|ntname -|
|00001ae0| 3e 5c 74 68 65 5c 40 74 | 65 6d 70 64 69 6d 62 7d |>\the\@t|empdimb}|
|00001af0| 25 0a 20 20 20 20 20 20 | 20 20 5c 66 69 0a 20 20 |%. | \fi. |
|00001b00| 20 20 20 20 20 20 5c 66 | 6f 6e 74 5c 74 65 6d 70 | \f|ont\temp|
|00001b10| 40 66 6f 6e 74 3d 5c 63 | 75 72 72 40 66 6f 6e 74 |@font=\c|urr@font|
|00001b20| 6e 61 6d 65 20 61 74 20 | 5c 74 68 65 5c 40 74 65 |name at |\the\@te|
|00001b30| 6d 70 64 69 6d 62 0a 20 | 20 20 20 20 5c 66 69 0a |mpdimb. | \fi.|
|00001b40| 20 20 20 20 20 5c 69 66 | 78 5c 48 40 72 56 5c 48 | \if|x\H@rV\H|
|00001b50| 62 40 78 0a 20 20 20 20 | 20 20 20 20 5c 68 62 6f |b@x. | \hbo|
|00001b60| 78 20 74 6f 20 5c 64 65 | 73 69 72 65 64 40 73 69 |x to \de|sired@si|
|00001b70| 7a 65 20 7b 5c 68 73 73 | 7b 5c 74 65 6d 70 40 66 |ze {\hss|{\temp@f|
|00001b80| 6f 6e 74 20 23 33 7d 5c | 68 73 73 7d 25 0a 20 20 |ont #3}\|hss}%. |
|00001b90| 20 20 20 5c 65 6c 73 65 | 0a 20 20 20 20 20 20 20 | \else|. |
|00001ba0| 20 5c 68 62 6f 78 20 7b | 7b 5c 74 65 6d 70 40 66 | \hbox {|{\temp@f|
|00001bb0| 6f 6e 74 20 23 33 7d 7d | 25 0a 20 20 20 20 20 5c |ont #3}}|%. \|
|00001bc0| 66 69 20 20 20 20 20 0a | 7d 0a 25 20 75 73 65 72 |fi .|}.% user|
|00001bd0| 20 69 6e 74 65 72 66 61 | 63 65 0a 5c 64 65 66 5c | interfa|ce.\def\|
|00001be0| 73 63 61 6c 65 74 6f 77 | 69 64 74 68 7b 5c 40 73 |scaletow|idth{\@s|
|00001bf0| 63 61 6c 65 74 6f 66 69 | 74 5b 68 5d 7d 0a 5c 64 |caletofi|t[h]}.\d|
|00001c00| 65 66 5c 73 63 61 6c 65 | 74 6f 68 65 69 67 68 74 |ef\scale|toheight|
|00001c10| 7b 5c 40 73 63 61 6c 65 | 74 6f 66 69 74 5b 76 5d |{\@scale|tofit[v]|
|00001c20| 7d 0a 25 3c 2f 70 61 63 | 6b 61 67 65 3e 0a 25 20 |}.%</pac|kage>.% |
|00001c30| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|00001c40| 65 7d 0a 25 20 5c 46 69 | 6e 61 6c 65 0a 5c 65 6e |e}.% \Fi|nale.\en|
|00001c50| 64 69 6e 70 75 74 0a 25 | 0a 25 25 20 5c 43 68 61 |dinput.%|.%% \Cha|
|00001c60| 72 61 63 74 65 72 54 61 | 62 6c 65 0a 25 25 20 20 |racterTa|ble.%% |
|00001c70| 7b 55 70 70 65 72 2d 63 | 61 73 65 20 20 20 20 5c |{Upper-c|ase \|
|00001c80| 41 5c 42 5c 43 5c 44 5c | 45 5c 46 5c 47 5c 48 5c |A\B\C\D\|E\F\G\H\|
|00001c90| 49 5c 4a 5c 4b 5c 4c 5c | 4d 5c 4e 5c 4f 5c 50 5c |I\J\K\L\|M\N\O\P\|
|00001ca0| 51 5c 52 5c 53 5c 54 5c | 55 5c 56 5c 57 5c 58 5c |Q\R\S\T\|U\V\W\X\|
|00001cb0| 59 5c 5a 0a 25 25 20 20 | 20 4c 6f 77 65 72 2d 63 |Y\Z.%% | Lower-c|
|00001cc0| 61 73 65 20 20 20 20 5c | 61 5c 62 5c 63 5c 64 5c |ase \|a\b\c\d\|
|00001cd0| 65 5c 66 5c 67 5c 68 5c | 69 5c 6a 5c 6b 5c 6c 5c |e\f\g\h\|i\j\k\l\|
|00001ce0| 6d 5c 6e 5c 6f 5c 70 5c | 71 5c 72 5c 73 5c 74 5c |m\n\o\p\|q\r\s\t\|
|00001cf0| 75 5c 76 5c 77 5c 78 5c | 79 5c 7a 0a 25 25 20 20 |u\v\w\x\|y\z.%% |
|00001d00| 20 44 69 67 69 74 73 20 | 20 20 20 20 20 20 20 5c | Digits | \|
|00001d10| 30 5c 31 5c 32 5c 33 5c | 34 5c 35 5c 36 5c 37 5c |0\1\2\3\|4\5\6\7\|
|00001d20| 38 5c 39 0a 25 25 20 20 | 20 45 78 63 6c 61 6d 61 |8\9.%% | Exclama|
|00001d30| 74 69 6f 6e 20 20 20 5c | 21 20 20 20 20 20 44 6f |tion \|! Do|
|00001d40| 75 62 6c 65 20 71 75 6f | 74 65 20 20 5c 22 20 20 |uble quo|te \" |
|00001d50| 20 20 20 48 61 73 68 20 | 28 6e 75 6d 62 65 72 29 | Hash |(number)|
|00001d60| 20 5c 23 0a 25 25 20 20 | 20 44 6f 6c 6c 61 72 20 | \#.%% | Dollar |
|00001d70| 20 20 20 20 20 20 20 5c | 24 20 20 20 20 20 50 65 | \|$ Pe|
|00001d80| 72 63 65 6e 74 20 20 20 | 20 20 20 20 5c 25 20 20 |rcent | \% |
|00001d90| 20 20 20 41 6d 70 65 72 | 73 61 6e 64 20 20 20 20 | Amper|sand |
|00001da0| 20 5c 26 0a 25 25 20 20 | 20 41 63 75 74 65 20 61 | \&.%% | Acute a|
|00001db0| 63 63 65 6e 74 20 20 5c | 27 20 20 20 20 20 4c 65 |ccent \|' Le|
|00001dc0| 66 74 20 70 61 72 65 6e | 20 20 20 20 5c 28 20 20 |ft paren| \( |
|00001dd0| 20 20 20 52 69 67 68 74 | 20 70 61 72 65 6e 20 20 | Right| paren |
|00001de0| 20 5c 29 0a 25 25 20 20 | 20 41 73 74 65 72 69 73 | \).%% | Asteris|
|00001df0| 6b 20 20 20 20 20 20 5c | 2a 20 20 20 20 20 50 6c |k \|* Pl|
|00001e00| 75 73 20 20 20 20 20 20 | 20 20 20 20 5c 2b 20 20 |us | \+ |
|00001e10| 20 20 20 43 6f 6d 6d 61 | 20 20 20 20 20 20 20 20 | Comma| |
|00001e20| 20 5c 2c 0a 25 25 20 20 | 20 4d 69 6e 75 73 20 20 | \,.%% | Minus |
|00001e30| 20 20 20 20 20 20 20 5c | 2d 20 20 20 20 20 50 6f | \|- Po|
|00001e40| 69 6e 74 20 20 20 20 20 | 20 20 20 20 5c 2e 20 20 |int | \. |
|00001e50| 20 20 20 53 6f 6c 69 64 | 75 73 20 20 20 20 20 20 | Solid|us |
|00001e60| 20 5c 2f 0a 25 25 20 20 | 20 43 6f 6c 6f 6e 20 20 | \/.%% | Colon |
|00001e70| 20 20 20 20 20 20 20 5c | 3a 20 20 20 20 20 53 65 | \|: Se|
|00001e80| 6d 69 63 6f 6c 6f 6e 20 | 20 20 20 20 5c 3b 20 20 |micolon | \; |
|00001e90| 20 20 20 4c 65 73 73 20 | 74 68 61 6e 20 20 20 20 | Less |than |
|00001ea0| 20 5c 3c 0a 25 25 20 20 | 20 45 71 75 61 6c 73 20 | \<.%% | Equals |
|00001eb0| 20 20 20 20 20 20 20 5c | 3d 20 20 20 20 20 47 72 | \|= Gr|
|00001ec0| 65 61 74 65 72 20 74 68 | 61 6e 20 20 5c 3e 20 20 |eater th|an \> |
|00001ed0| 20 20 20 51 75 65 73 74 | 69 6f 6e 20 6d 61 72 6b | Quest|ion mark|
|00001ee0| 20 5c 3f 0a 25 25 20 20 | 20 43 6f 6d 6d 65 72 63 | \?.%% | Commerc|
|00001ef0| 69 61 6c 20 61 74 20 5c | 40 20 20 20 20 20 4c 65 |ial at \|@ Le|
|00001f00| 66 74 20 62 72 61 63 6b | 65 74 20 20 5c 5b 20 20 |ft brack|et \[ |
|00001f10| 20 20 20 42 61 63 6b 73 | 6c 61 73 68 20 20 20 20 | Backs|lash |
|00001f20| 20 5c 5c 0a 25 25 20 20 | 20 52 69 67 68 74 20 62 | \\.%% | Right b|
|00001f30| 72 61 63 6b 65 74 20 5c | 5d 20 20 20 20 20 43 69 |racket \|] Ci|
|00001f40| 72 63 75 6d 66 6c 65 78 | 20 20 20 20 5c 5e 20 20 |rcumflex| \^ |
|00001f50| 20 20 20 55 6e 64 65 72 | 73 63 6f 72 65 20 20 20 | Under|score |
|00001f60| 20 5c 5f 0a 25 25 20 20 | 20 47 72 61 76 65 20 61 | \_.%% | Grave a|
|00001f70| 63 63 65 6e 74 20 20 5c | 60 20 20 20 20 20 4c 65 |ccent \|` Le|
|00001f80| 66 74 20 62 72 61 63 65 | 20 20 20 20 5c 7b 20 20 |ft brace| \{ |
|00001f90| 20 20 20 56 65 72 74 69 | 63 61 6c 20 62 61 72 20 | Verti|cal bar |
|00001fa0| 20 5c 7c 0a 25 25 20 20 | 20 52 69 67 68 74 20 62 | \|.%% | Right b|
|00001fb0| 72 61 63 65 20 20 20 5c | 7d 20 20 20 20 20 54 69 |race \|} Ti|
|00001fc0| 6c 64 65 20 20 20 20 20 | 20 20 20 20 5c 7e 7d 0a |lde | \~}.|
|00001fd0| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+